package com.ruoyi.background.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 知识关卡对象 app_site
 *
 * @author susu
 * @date 2024-08-10
 */
public class AppSite extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 未解锁照片
     */
    @Excel(name = "未解锁照片")
    private String lockImg;

    /**
     * 解锁照片
     */
    @Excel(name = "解锁照片")
    private String clearImg;

    /**
     * 顶部照片
     */
    @Excel(name = "顶部照片")
    private String topImg;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;

    /**
     * 信息简介
     */
    @Excel(name = "信息简介")
    private String info;

    /**
     * 视频
     */
    @Excel(name = "视频")
    private String vedio;

    /**
     * 解锁需要的积分
     */
    @Excel(name = "解锁需要的积分")
    private Integer grade;

    /**
     * 0正常 1下架
     */
    @Excel(name = "0正常 1下架")
    private Integer status;

    private Integer finishSum;

    private String tipText;

    public String getTipText() {
        return tipText;
    }

    public void setTipText(String tipText) {
        this.tipText = tipText;
    }

    /**
     * 0正常 1删除
     */
    private Integer delFlag;

    public Integer getFinishSum() {
        return finishSum;
    }

    private Integer rewardGrade;

    public Integer getRewardGrade() {
        return rewardGrade;
    }

    public void setRewardGrade(Integer rewardGrade) {
        this.rewardGrade = rewardGrade;
    }

    public void setFinishSum(Integer finishSum) {
        this.finishSum = finishSum;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setLockImg(String lockImg) {
        this.lockImg = lockImg;
    }

    public String getLockImg() {
        return lockImg;
    }

    public void setClearImg(String clearImg) {
        this.clearImg = clearImg;
    }

    public String getClearImg() {
        return clearImg;
    }

    public void setTopImg(String topImg) {
        this.topImg = topImg;
    }

    public String getTopImg() {
        return topImg;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getInfo() {
        return info;
    }

    public void setVedio(String vedio) {
        this.vedio = vedio;
    }

    public String getVedio() {
        return vedio;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("lockImg", getLockImg())
                .append("clearImg", getClearImg())
                .append("topImg", getTopImg())
                .append("name", getName())
                .append("info", getInfo())
                .append("vedio", getVedio())
                .append("grade", getGrade())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
